package com.maket.scxx.service.impl;

import com.maket.scxx.domain.TeamMembers;
import com.maket.scxx.mapper.TeamMembersMapper;
import com.maket.scxx.service.IBzTeamScheduleService;
import com.maket.scxx.service.TeamMembersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@SuppressWarnings("all")
@Service
public class TeamMembersServiceImpl implements TeamMembersService {

    @Autowired
    private TeamMembersMapper teamMembersMapper;

    @Override
    public int insertPeople(TeamMembers teamMembers) {
        return teamMembersMapper.insertPeople(teamMembers);
    }

    @Override
    public List<TeamMembers> selectWithBzCode(String bzCode) {
        return teamMembersMapper.selectWithBzCode(bzCode);
    }

    @Override
    public int deleteByBzCode(String bzCode) {
        return teamMembersMapper.deleteByBzCode(bzCode);
    }
}
